<div class="tableToolbar">
    <div class="coll-md-10" id="addInput">
        <div class="coll-md-15">
            <input type="text" class='search' placeholder=" 类型标识码" ng-model="ctrlScope.itemsearch.nid">
        </div>


        <div class="coll-md-1">
            <input type="button" class="small-icon search2-icon" value="搜索" ng-click="search()">
            <input type="button" class="small-icon search2" value="搜索">
            <input type="button" class="small-icon reset-icon" reset-icon value="重置" ng-click="reset()">
            <input type="button" class="small-icon reset" value="重置">

        </div>
    </div>
    <!--<div class="coll-md-2">-->
    <!--<input type="button" class="bttn pos-right"  ng-click="addOrderModal()" value="新建">-->
    <!--</div>-->

</div>
<table ui-table="orderParams">
    <thead>
    <tr>
        <th width="10%">
            id
        </th>
        <th width="30%">
            配置参数名称
        </th>
        <th width="20%">
            配置nid
        </th>
        <th width="20%">
            参数值
        </th>
        <th >
            操作
        </th>
    </tr>
    </thead>
    <tbody>
    <tr ng-repeat="item in orderParams.$rows">
        <td>{{item.id}}</td>
        <td>{{item.paramKey}}</td>
        <td>{{item.paramValue}}</td>
        <td>{{item.remark}}</td>
        <td><a ng-click="edit(item.paramKey)">编辑</a></td>
    </tr>
    </tbody>
</table>

<modal title="编辑" visible="detailsModal">
    <form class="form-horizontal">
        <div class="form-body">
            <div class="row">
                <div class="col-md-12">
                    <div class="form-group">
                        <label class="control-label col-md-2">配置参数名称：</label>
                        <div class="col-md-10">
                            <input type="text" class="form-control" ng-model="list.remark" readonly>
                        </div>
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label col-md-4">配置nid：</label>
                        <div class="col-md-8">
                            <input type="text" class="form-control" ng-model="list.paramKey" readonly>
                        </div>
                    </div>
                </div>
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label col-md-4">参数值：</label>
                        <div class="col-md-8">
                            <input type="text" class="form-control" ng-model="list.paramValue">
                        </div>
                    </div>
                </div>

            </div>
            <div class="buttonArea col-md-12">
                <button type="submit" class="btn blue" ng-click="saveSubmit()">确定</button>
            </div>

        </div>
    </form>
</modal>
